---
id: action-index
title: 实战指南
description: Knife4j实战指南
---


Knife4j实战项目列表,所有实战demo源码都在[https://gitee.com/xiaoym/swagger-bootstrap-ui-demo](https://gitee.com/xiaoym/swagger-bootstrap-ui-demo),
每个项目的介绍请[参考文档](/docs/community/simple-demo)

## 微服务聚合组件Knife4jAggregation强势发布

> 聚合Swagger文档从来没有这么简单过,请参考以下实战篇章
>

- [Disk本地模式聚合OpenAPI文档](action/aggregation-disk)
- [Cloud模式聚合OpenAPI文档](action/aggregation-cloud)
- [Eureka注册中心聚合OpenAPI文档](action/aggregation-eureka)
- [Nacos注册中心聚合OpenAPI文档](action/aggregation-nacos)
- [基于Knife4j的Docker镜像快速聚合OpenAPI](action/aggregation-docker)


## Spring单体架构

- [基于Maven Bom方式使用](action/mavenbom)
- [SpringMVC框架集成Knife4j](action/springmvc)
- [Spring Boot 框架集成Knife4j](action/springboot)

## SpringCloud微服务架构

- [Spring Cloud Gateway集成Knife4j](action/springcloud-gateway)
- [Spring Cloud Zuul集成Knife4j](action/springcloud-zuul)


## 基于Spring Securty OAuth2.0认证集成Knife4j

- [简化模式(implicit)](action/oauth2-implicit)
- [授权码模式(authorization_code)](action/oauth2-authorization_code)
- [客户端模式(client_credentials)](action/oauth2-client_credentials)
- [密码模式(password)](action/oauth2-password)

## Springfox 源码系列


- [springfox 源码分析(一) 程序入口](action/springfox/springfox1)
- [springfox 源码分析(二) 初探mapstruct](action/springfox/springfox2)
- [springfox 源码分析(三) 初探Spring Plugin插件系统](action/springfox/springfox3)
- [springfox 源码分析(四) 配置类初始化](action/springfox/springfox4)
- [springfox 源码分析(五) web配置类Plugin插件的使用](action/springfox/springfox5)
- [springfox 源码分析(六) web配置类扫描包作用探索](action/springfox/springfox6)
- [springfox 源码分析(七) 文档初始化-DocumentationContext](action/springfox/springfox7)
- [springfox 源码分析(八) 遍历接口获取Model对象](action/springfox/springfox8)
- [springfox 源码分析(九) 文档初始化-分组](action/springfox/springfox9)
- [springfox 源码分析(十) 遍历接口获取Model对象](action/springfox/springfox10)
- [springfox 源码分析(十一) 自定义添加Swagger Models功能实现](action/springfox/springfox11)
- [springfox 源码分析(十二) 遍历接口获取ApiDescription集合](action/springfox/springfox12)
- [springfox 源码分析(十三) 自定义扩展实现接口的排序](action/springfox/springfox13)
- [springfox 源码分析(十四) 归档得到ApiListing接口集合](action/springfox/springfox14)
- [springfox 源码分析(十五) 归档得到Documentation文档对象](action/springfox/springfox15)
- [springfox 源码分析(十六) 分组接口swagger-resouces](action/springfox/springfox16)
- [springfox 源码分析(十七) Swagger2接口文档示例接口api-docs](action/springfox/springfox17)
- [springfox 源码分析(十八) 自定义扩展实现分组的排序](action/springfox/springfox18)
- [springfox 源码分析(十九) guava库学习](action/springfox/springfox19)
- [springfox 源码分析(二十) 自定义扩展实现Map、JSONObject等动态字段显示](action/springfox/springfox20)
- [springfox 源码分析(二十一) 忽略参数Class类型](action/springfox/springfox21)
